namespace org.jawk.jrt
{
	/// <summary>A runtime exception thrown by Jawk.</summary>
	/// <remarks>
	/// A runtime exception thrown by Jawk.  It is provided
	/// to conveniently distinguish between Jawk runtime
	/// exceptions and other runtime exceptions.
	/// </remarks>
	[System.Serializable]
	public class AwkRuntimeException : System.Exception
	{
		public AwkRuntimeException(string msg) : base(msg)
		{
		}

		public AwkRuntimeException(int lineno, string msg) : base(msg + " (line: " + lineno
			 + ")")
		{
		}
	}
}
